package com.global.emc.spring.chain;

import java.util.Map;

import org.springframework.context.support.ApplicationObjectSupport;

import com.global.emc.core.exception.impl.EMCException;

public class BlankCallMethodChain extends ApplicationObjectSupport implements CallMethodChain{
	
	protected void addReturnValue(Map<String,Object> map,String key,Object value) {
		map.put(super.getClass().getName()+key, value);
	}
	protected Object getBeforeCallMethodReturnValue(Map<String,Object> map,String key){
		return map.get(super.getClass().getName()+key);
	}

	@Override
	public Map<String,Object> invoker(BeforeCallMethodContent content) throws EMCException {
		// TODO Auto-generated method stub
		
		return null;
	}

	@Override
	public void invoker(AfterCallMethodContent content) throws EMCException {
		// TODO Auto-generated method stub
		
	}

}
